.car-news-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  font-family: Arial, sans-serif;
}

/* 导航栏样式 */
.category-nav {
  margin: 20px 0;
  overflow: hidden;
}

.category-scroll {
  display: flex;
  gap: 10px;
  padding-bottom: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.category-btn {
  padding: 8px 16px;
  background: #f5f5f5;
  border: none;
  border-radius: 20px;
  white-space: nowrap;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.category-btn.active {
  background: #ff4d4f;
  color: white;
}

.more-btn {
  padding: 8px 16px;
  background: #f5f5f5;
  border: none;
  border-radius: 20px;
  white-space: nowrap;
  cursor: pointer;
  font-size: 14px;
  margin-left: auto;
}

/* 内容区样式 */
.content-wrapper {
  display: flex;
  gap: 20px;
}

.main-content {
  flex: 3;
}

.featured-uploads {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.video-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.video-card:hover {
  transform: translateY(-4px);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

.video-info {
  padding: 12px;
}

.video-title {
  font-size: 16px;
  margin: 0 0 8px 0;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 42px;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #666;
}

.video-channel {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

/* 热搜榜样式 */
.trending-sidebar {
  flex: 1;
  min-width: 250px;
}

.trending-title {
  font-size: 18px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.trending-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trending-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
}

.rank {
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  margin-right: 12px;
  font-size: 14px;
  color: #666;
}

.top-rank {
  background: #ff4d4f;
  color: white;
  border-radius: 50%;
}

.trending-title-text {
  font-size: 14px;
  line-height: 1.5;
}

/* 响应式调整 */
@media (max-width: 900px) {
  .content-wrapper {
    flex-direction: column;
  }
  
  .featured-uploads {
    grid-template-columns: 1fr;
  }
  
  .trending-sidebar {
    margin-top: 30px;
  }
}